GetEnv

Note: This statement is named Get Environment in the Add Statement dialog box.

Returns the value of an environment variable from Windows or QA Wizard Pro. See the Windows help for information about system variables. See QA Wizard Pro environment variables for information about QA Wizard Pro variables.

Syntax

GetEnv("EnvironmentVariableName")

Arguments

Argument Description
EnvironmentVariableName Windows or QA Wizard Pro environment variable name.

Return value

Value Description
Value Environment variable value.

Example

homeDir = GetEnv("HOMEPATH")

PrintLn homeDir